package top.majuan.springboot3.service;

import top.majuan.springboot3.base.PageBean;
import top.majuan.springboot3.base.R;
import top.majuan.springboot3.entity.TbClass;
import top.majuan.springboot3.vo.PageVo;

import java.util.List;

public interface TbClassService {
    R<String> insert(TbClass tbClass);

    R<List<TbClass>> query(TbClass tbClass);

    R<PageVo<TbClass>> queryPage(PageBean pageBean, TbClass tbClass);

    R<TbClass> queryByid(Integer id);

    R<String> update(TbClass tbClass);

    R<String> delete(Integer id);
}
